package com.model.schedule;

import java.io.Serializable;
import java.util.Date;

public class ScheduleJobLog implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * Id
	 */
	private String id;

	/**
	 * 定时任务Id
	 */
	private String jobId;

	/**
	 * Bean名称
	 */
	private String beanName;

	/**
	 * Method名称
	 */
	private String methodName;

	/**
	 * 参数
	 */
	private String params;

	/**
	 * 状态0：成功 1：失败 2:执行中
	 */
	private Integer runStatus;

	private String runStatusStr;

	/**
	 * 错误日志
	 */
	private String errorLog;

	/**
	 * 执行时长(单位毫秒)
	 */
	private Integer times;

	/**
	 * 开始执行时间
	 */
	private Date beginTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getJobId() {
		return jobId;
	}

	public void setJobId(String jobId) {
		this.jobId = jobId;
	}

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getParams() {
		return params;
	}

	public void setParams(String params) {
		this.params = params;
	}

	public Integer getRunStatus() {
		return runStatus;
	}

	public void setRunStatus(Integer runStatus) {
		this.runStatus = runStatus;
	}

	public String getRunStatusStr() {
		return runStatusStr;
	}

	public void setRunStatusStr(String runStatusStr) {
		this.runStatusStr = runStatusStr;
	}

	public String getErrorLog() {
		return errorLog;
	}

	public void setErrorLog(String errorLog) {
		this.errorLog = errorLog;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public String getBeginTimeStr() {
		return beginTimeStr;
	}

	public void setBeginTimeStr(String beginTimeStr) {
		this.beginTimeStr = beginTimeStr;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getEndTimeStr() {
		return endTimeStr;
	}

	public void setEndTimeStr(String endTimeStr) {
		this.endTimeStr = endTimeStr;
	}

	private String beginTimeStr;

	/**
	 * 结束执行时间
	 */
	private Date endTime;

	private String endTimeStr;
}